package com.nifostasky.comic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nifostasky.comic.entitys.CoOtherPicture;

import java.util.List;
import java.util.Map;

/**
 * (CoOtherPicture)表服务接口
 *
 * @author 
 * @since 2022-02-15 21:14:17
 */
public interface CoOtherPictureService extends IService<CoOtherPicture> {
    /**
     *  获取轮播图
     */
    List<CoOtherPicture> queryRotationPicture();

    /**
     * 新增修改轮播图
     */
    Integer addAndEditRotationPicture(CoOtherPicture pictureInfo);

    /**
     * 本站推荐
     */
    Map<String,Object> queryCollectComicPage(Integer pageIndex,Integer pageSize);

    /**
     * 新增修改本站推荐漫画
     */
    Integer addAndEditCollectComic(CoOtherPicture pictureInfo);
}
